Change the module registration declarations and change the object creation and
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 21 Nov 2005 11:40:02 +0000 (12:40 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Mon, 21 Nov 2005 11:40:02 +0000 (12:40 +0100)
commitdcae8722524b8bd5b6b7ddbf5b2b3fef4c42c03c
tree425ebe0e5ba866ae178f1bfc3a39a36835a83f09
parent3afa97b0f284d3d9ac4144412853e806cb24a3e5
Change the module registration declarations and change the object creation and
deallocation to match those in the Python/C tutorial.  This has been done to
make the interface here more conventional, in the hunt for bug #411.  One
double deallocation has been fixed, but this would only occur if we failed to
create the connection to Xenstore, and so unfortunately is not the cause of
that bug.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/python/xen/lowlevel/xs/xs.c
tools/python/xen/xend/xenstore/xsutil.py